﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.DAO;
using Com.CMS263.PO;

namespace Com.CMS263.BLL
{
    public class AttributeTypeBLL
    {
        AttributeTypeDAO dao = new AttributeTypeDAO();

        public void Add(AttributeType at)
        {
            dao.Add(at);
        }
        public void Delete(int id)
        {
            dao.Delete(id);
        }
        public IList<AttributeType> GetAllAttributeType()
        {
            return dao.GetAllAttribute();
        }

        public AttributeType GetAttributeById(int id)
        {
            return dao.GetAttributeTypeById(id);
        }

        public void Modify(AttributeType at)
        {
            dao.Modify(at);
        }
    }
}
